﻿using System;
using System.Drawing;

namespace RSALicUI
{
    /// <summary>
    /// 二维码解析接口
    /// </summary>
    public interface IQRIO
    {
        /// <summary>
        /// 输入二维码
        /// </summary>
        void SetInputQr(Image qrImg);

        /// <summary>
        /// 输出二维码
        /// </summary>
        /// <param name="trans">对输入二维码中的数据进行转换的方法</param>
        /// <returns></returns>
        Image GetOutputQr(Func<string, string> trans);
    }
}
